/*
* Copyright (C) 2008 Happy Fish / YuQing
*
* FastDFS Java Client may be copied only under the terms of the GNU Lesser
* General Public License (LGPL).
* Please visit the FastDFS Home Page http://www.csource.org/ for more detail.
*/

package com.ultrapower.ctool.bean;

import java.util.List;

/**
* name(key) and value pair model
* @author Happy Fish / YuQing
* @version Version 1.0
*/
public class TotalRowsPair<T>
{
    protected int total;
    protected List<T> rows;

    public TotalRowsPair()
    {
    }



    public TotalRowsPair(int total, List<T> rows)
    {
        this.total = total;
        this.rows = rows;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
